Optimal. Leaf size=19 \[ \frac{\coth ^5(x)}{5}-\frac{2 \coth ^3(x)}{3}+\coth (x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0200164, antiderivative size = 19, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {3175, 3767} \[ \frac{\coth ^5(x)}{5}-\frac{2 \coth ^3(x)}{3}+\coth (x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3175
Rule 3767
Rubi steps
\begin{align*} \int \frac{1}{\left (1-\cosh ^2(x)\right )^3} \, dx &=-\int \text{csch}^6(x) \, dx\\ &=i \operatorname{Subst}\left (\int \left (1+2 x^2+x^4\right ) \, dx,x,-i \coth (x)\right )\\ &=\coth (x)-\frac{2 \coth ^3(x)}{3}+\frac{\coth ^5(x)}{5}\\ \end{align*}
Mathematica [A] time = 0.0038613, size = 27, normalized size = 1.42 \[ \frac{8 \coth (x)}{15}+\frac{1}{5} \coth (x) \text{csch}^4(x)-\frac{4}{15} \coth (x) \text{csch}^2(x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.016, size = 48, normalized size = 2.5 \begin{align*}{\frac{1}{160} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{5}}-{\frac{5}{96} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{3}}+{\frac{5}{16}\tanh \left ({\frac{x}{2}} \right ) }+{\frac{5}{16} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{-1}}-{\frac{5}{96} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{-3}}+{\frac{1}{160} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{-5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.09252, size = 150, normalized size = 7.89 \begin{align*} \frac{16 \, e^{\left (-2 \, x\right )}}{3 \,{\left (5 \, e^{\left (-2 \, x\right )} - 10 \, e^{\left (-4 \, x\right )} + 10 \, e^{\left (-6 \, x\right )} - 5 \, e^{\left (-8 \, x\right )} + e^{\left (-10 \, x\right )} - 1\right )}} - \frac{32 \, e^{\left (-4 \, x\right )}}{3 \,{\left (5 \, e^{\left (-2 \, x\right )} - 10 \, e^{\left (-4 \, x\right )} + 10 \, e^{\left (-6 \, x\right )} - 5 \, e^{\left (-8 \, x\right )} + e^{\left (-10 \, x\right )} - 1\right )}} - \frac{16}{15 \,{\left (5 \, e^{\left (-2 \, x\right )} - 10 \, e^{\left (-4 \, x\right )} + 10 \, e^{\left (-6 \, x\right )} - 5 \, e^{\left (-8 \, x\right )} + e^{\left (-10 \, x\right )} - 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.0004, size = 626, normalized size = 32.95 \begin{align*} \frac{16 \,{\left (11 \, \cosh \left (x\right )^{2} + 18 \, \cosh \left (x\right ) \sinh \left (x\right ) + 11 \, \sinh \left (x\right )^{2} - 5\right )}}{15 \,{\left (\cosh \left (x\right )^{8} + 8 \, \cosh \left (x\right ) \sinh \left (x\right )^{7} + \sinh \left (x\right )^{8} +{\left (28 \, \cosh \left (x\right )^{2} - 5\right )} \sinh \left (x\right )^{6} - 5 \, \cosh \left (x\right )^{6} + 2 \,{\left (28 \, \cosh \left (x\right )^{3} - 15 \, \cosh \left (x\right )\right )} \sinh \left (x\right )^{5} + 5 \,{\left (14 \, \cosh \left (x\right )^{4} - 15 \, \cosh \left (x\right )^{2} + 2\right )} \sinh \left (x\right )^{4} + 10 \, \cosh \left (x\right )^{4} + 4 \,{\left (14 \, \cosh \left (x\right )^{5} - 25 \, \cosh \left (x\right )^{3} + 10 \, \cosh \left (x\right )\right )} \sinh \left (x\right )^{3} +{\left (28 \, \cosh \left (x\right )^{6} - 75 \, \cosh \left (x\right )^{4} + 60 \, \cosh \left (x\right )^{2} - 11\right )} \sinh \left (x\right )^{2} - 11 \, \cosh \left (x\right )^{2} + 2 \,{\left (4 \, \cosh \left (x\right )^{7} - 15 \, \cosh \left (x\right )^{5} + 20 \, \cosh \left (x\right )^{3} - 9 \, \cosh \left (x\right )\right )} \sinh \left (x\right ) + 5\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 7.84964, size = 54, normalized size = 2.84 \begin{align*} \frac{\tanh ^{5}{\left (\frac{x}{2} \right )}}{160} - \frac{5 \tanh ^{3}{\left (\frac{x}{2} \right )}}{96} + \frac{5 \tanh{\left (\frac{x}{2} \right )}}{16} + \frac{5}{16 \tanh{\left (\frac{x}{2} \right )}} - \frac{5}{96 \tanh ^{3}{\left (\frac{x}{2} \right )}} + \frac{1}{160 \tanh ^{5}{\left (\frac{x}{2} \right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.32176, size = 32, normalized size = 1.68 \begin{align*} \frac{16 \,{\left (10 \, e^{\left (4 \, x\right )} - 5 \, e^{\left (2 \, x\right )} + 1\right )}}{15 \,{\left (e^{\left (2 \, x\right )} - 1\right )}^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]